﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000251 RID: 593
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueLeaveScRsp : IMessage<ChessRogueLeaveScRsp>, IMessage, IEquatable<ChessRogueLeaveScRsp>, IDeepCloneable<ChessRogueLeaveScRsp>, IBufferMessage
	{
		// Token: 0x170007DB RID: 2011
		// (get) Token: 0x06001AD4 RID: 6868 RVA: 0x0004D5D4 File Offset: 0x0004B7D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueLeaveScRsp> Parser
		{
			get
			{
				return ChessRogueLeaveScRsp._parser;
			}
		}

		// Token: 0x170007DC RID: 2012
		// (get) Token: 0x06001AD5 RID: 6869 RVA: 0x0004D5DB File Offset: 0x0004B7DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueLeaveScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170007DD RID: 2013
		// (get) Token: 0x06001AD6 RID: 6870 RVA: 0x0004D5ED File Offset: 0x0004B7ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueLeaveScRsp.Descriptor;
			}
		}

		// Token: 0x06001AD7 RID: 6871 RVA: 0x0004D5F4 File Offset: 0x0004B7F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueLeaveScRsp()
		{
		}

		// Token: 0x06001AD8 RID: 6872 RVA: 0x0004D5FC File Offset: 0x0004B7FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueLeaveScRsp(ChessRogueLeaveScRsp other) : this()
		{
			this.rogueAeonInfo_ = ((other.rogueAeonInfo_ != null) ? other.rogueAeonInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.rogueGetInfo_ = ((other.rogueGetInfo_ != null) ? other.rogueGetInfo_.Clone() : null);
			this.queryInfo_ = ((other.queryInfo_ != null) ? other.queryInfo_.Clone() : null);
			this.stageInfo_ = ((other.stageInfo_ != null) ? other.stageInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001AD9 RID: 6873 RVA: 0x0004D69C File Offset: 0x0004B89C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueLeaveScRsp Clone()
		{
			return new ChessRogueLeaveScRsp(this);
		}

		// Token: 0x170007DE RID: 2014
		// (get) Token: 0x06001ADA RID: 6874 RVA: 0x0004D6A4 File Offset: 0x0004B8A4
		// (set) Token: 0x06001ADB RID: 6875 RVA: 0x0004D6AC File Offset: 0x0004B8AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueAeonInfo RogueAeonInfo
		{
			get
			{
				return this.rogueAeonInfo_;
			}
			set
			{
				this.rogueAeonInfo_ = value;
			}
		}

		// Token: 0x170007DF RID: 2015
		// (get) Token: 0x06001ADC RID: 6876 RVA: 0x0004D6B5 File Offset: 0x0004B8B5
		// (set) Token: 0x06001ADD RID: 6877 RVA: 0x0004D6BD File Offset: 0x0004B8BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170007E0 RID: 2016
		// (get) Token: 0x06001ADE RID: 6878 RVA: 0x0004D6C6 File Offset: 0x0004B8C6
		// (set) Token: 0x06001ADF RID: 6879 RVA: 0x0004D6CE File Offset: 0x0004B8CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueGetInfo RogueGetInfo
		{
			get
			{
				return this.rogueGetInfo_;
			}
			set
			{
				this.rogueGetInfo_ = value;
			}
		}

		// Token: 0x170007E1 RID: 2017
		// (get) Token: 0x06001AE0 RID: 6880 RVA: 0x0004D6D7 File Offset: 0x0004B8D7
		// (set) Token: 0x06001AE1 RID: 6881 RVA: 0x0004D6DF File Offset: 0x0004B8DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryInfo QueryInfo
		{
			get
			{
				return this.queryInfo_;
			}
			set
			{
				this.queryInfo_ = value;
			}
		}

		// Token: 0x170007E2 RID: 2018
		// (get) Token: 0x06001AE2 RID: 6882 RVA: 0x0004D6E8 File Offset: 0x0004B8E8
		// (set) Token: 0x06001AE3 RID: 6883 RVA: 0x0004D6F0 File Offset: 0x0004B8F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueInfo StageInfo
		{
			get
			{
				return this.stageInfo_;
			}
			set
			{
				this.stageInfo_ = value;
			}
		}

		// Token: 0x06001AE4 RID: 6884 RVA: 0x0004D6F9 File Offset: 0x0004B8F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueLeaveScRsp);
		}

		// Token: 0x06001AE5 RID: 6885 RVA: 0x0004D708 File Offset: 0x0004B908
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueLeaveScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.RogueAeonInfo, other.RogueAeonInfo) && this.Retcode == other.Retcode && object.Equals(this.RogueGetInfo, other.RogueGetInfo) && object.Equals(this.QueryInfo, other.QueryInfo) && object.Equals(this.StageInfo, other.StageInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001AE6 RID: 6886 RVA: 0x0004D798 File Offset: 0x0004B998
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueAeonInfo_ != null)
			{
				num ^= this.RogueAeonInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueGetInfo_ != null)
			{
				num ^= this.RogueGetInfo.GetHashCode();
			}
			if (this.queryInfo_ != null)
			{
				num ^= this.QueryInfo.GetHashCode();
			}
			if (this.stageInfo_ != null)
			{
				num ^= this.StageInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001AE7 RID: 6887 RVA: 0x0004D82F File Offset: 0x0004BA2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001AE8 RID: 6888 RVA: 0x0004D837 File Offset: 0x0004BA37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001AE9 RID: 6889 RVA: 0x0004D840 File Offset: 0x0004BA40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this.rogueAeonInfo_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.RogueAeonInfo);
			}
			if (this.stageInfo_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.StageInfo);
			}
			if (this.queryInfo_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.QueryInfo);
			}
			if (this.rogueGetInfo_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.RogueGetInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001AEA RID: 6890 RVA: 0x0004D8F0 File Offset: 0x0004BAF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueAeonInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueAeonInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueGetInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueGetInfo);
			}
			if (this.queryInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.QueryInfo);
			}
			if (this.stageInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.StageInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001AEB RID: 6891 RVA: 0x0004D990 File Offset: 0x0004BB90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueLeaveScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueAeonInfo_ != null)
			{
				if (this.rogueAeonInfo_ == null)
				{
					this.RogueAeonInfo = new ChessRogueAeonInfo();
				}
				this.RogueAeonInfo.MergeFrom(other.RogueAeonInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueGetInfo_ != null)
			{
				if (this.rogueGetInfo_ == null)
				{
					this.RogueGetInfo = new ChessRogueGetInfo();
				}
				this.RogueGetInfo.MergeFrom(other.RogueGetInfo);
			}
			if (other.queryInfo_ != null)
			{
				if (this.queryInfo_ == null)
				{
					this.QueryInfo = new ChessRogueQueryInfo();
				}
				this.QueryInfo.MergeFrom(other.QueryInfo);
			}
			if (other.stageInfo_ != null)
			{
				if (this.stageInfo_ == null)
				{
					this.StageInfo = new ChessRogueInfo();
				}
				this.StageInfo.MergeFrom(other.StageInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001AEC RID: 6892 RVA: 0x0004DA7C File Offset: 0x0004BC7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001AED RID: 6893 RVA: 0x0004DA88 File Offset: 0x0004BC88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 42U)
				{
					if (num == 32U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 42U)
					{
						if (this.rogueAeonInfo_ == null)
						{
							this.RogueAeonInfo = new ChessRogueAeonInfo();
						}
						input.ReadMessage(this.RogueAeonInfo);
						continue;
					}
				}
				else
				{
					if (num == 50U)
					{
						if (this.stageInfo_ == null)
						{
							this.StageInfo = new ChessRogueInfo();
						}
						input.ReadMessage(this.StageInfo);
						continue;
					}
					if (num == 74U)
					{
						if (this.queryInfo_ == null)
						{
							this.QueryInfo = new ChessRogueQueryInfo();
						}
						input.ReadMessage(this.QueryInfo);
						continue;
					}
					if (num == 114U)
					{
						if (this.rogueGetInfo_ == null)
						{
							this.RogueGetInfo = new ChessRogueGetInfo();
						}
						input.ReadMessage(this.RogueGetInfo);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000B34 RID: 2868
		private static readonly MessageParser<ChessRogueLeaveScRsp> _parser = new MessageParser<ChessRogueLeaveScRsp>(() => new ChessRogueLeaveScRsp());

		// Token: 0x04000B35 RID: 2869
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000B36 RID: 2870
		public const int RogueAeonInfoFieldNumber = 5;

		// Token: 0x04000B37 RID: 2871
		private ChessRogueAeonInfo rogueAeonInfo_;

		// Token: 0x04000B38 RID: 2872
		public const int RetcodeFieldNumber = 4;

		// Token: 0x04000B39 RID: 2873
		private uint retcode_;

		// Token: 0x04000B3A RID: 2874
		public const int RogueGetInfoFieldNumber = 14;

		// Token: 0x04000B3B RID: 2875
		private ChessRogueGetInfo rogueGetInfo_;

		// Token: 0x04000B3C RID: 2876
		public const int QueryInfoFieldNumber = 9;

		// Token: 0x04000B3D RID: 2877
		private ChessRogueQueryInfo queryInfo_;

		// Token: 0x04000B3E RID: 2878
		public const int StageInfoFieldNumber = 6;

		// Token: 0x04000B3F RID: 2879
		private ChessRogueInfo stageInfo_;
	}
}
